package cn.jtool.dig.client.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * 日志开关
 */
@Data
@Component
@ConfigurationProperties(prefix = "debug")
public class DebugConfig implements Serializable{

    private Item relay;
    private Item thirdParty;

    @Data
    public static class Item implements Serializable{
        private Boolean decoder = true;
        private Boolean encoder = true;
    }
}
